const mongoose = require("mongoose");
const userSchema = mongoose.Schema({
    name: String,
    password: {
        type:String,
        select:false //对user集合进行查询操作 最终的结果都不会有password字段
    }
})

const userModel = mongoose.model("user",userSchema)
module.exports = userModel